<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>培训人员管理</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link
	href="#{facesContext.externalContext.requestContextPath}/css/public.css"
	rel="stylesheet" type="text/css" media="screen" />
<link
	href="#{facesContext.externalContext.requestContextPath}/css/main.css"
	rel="stylesheet" type="text/css" media="screen" />

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">

	<div id="msgid" class="error pt10p bcf c0 tal" style="display:">
		<a4j:outputPanel layout="block" id="msgPanel"
			style="width:100%;height:25px;backgroud-color:#cccccc;color:#FF0000;dispaly:block">
			<center>
				<h:outputText styleClass="cff" value="#{PetenceBB.msg}" escape="false"/>
			</center>
		</a4j:outputPanel>
	</div>
	<div id="right">
	<a4j:form >
		<div class="tiaojian">
			<div class="tiaojian4_1">
				身份类型<h:selectOneMenu class="style_input"  value="#{PetenceBB.tp_userlevel}" disabled="true">
	 			<f:selectItems  value="#{paramBB.selectItem['tp_userlevel']}"  />
			</h:selectOneMenu>
			</div>
		</div>
		<div class="butdiv">
			<div class="butdiv">
				<h:outputText value="" />
				<rich:listShuttle id="subMenu" sourceValue="#{PetenceBB.allPetence}"
					copyAllControlLabel="全部选中" copyControlLabel="选中"
					removeControlLabel="移除" removeAllControlLabel="全部移除"
					upControlLabel="上移" topControlLabel="置顶" downControlLabel="下移"
					bottomControlLabel="置底" fastOrderControlsVisible="fales"
					orderControlsVisible="fales" targetValue="#{PetenceBB.userPetence}"
					var="items" listsHeight="300" sourceCaptionLabel="未授权菜单"
					targetCaptionLabel="已授权菜单" sourceListWidth="180"
					targetListWidth="180" listClass="listShuttle"
					converter="shuttleListConverter">
					<rich:column>
						<h:outputText value="#{items.name}" />
					</rich:column>
				</rich:listShuttle>
				<h:outputText value="" />
			</div>
		</div>
		<div class="butdiv">
			<a4j:commandButton
					action="#{PetenceBB.updatePetence}" styleClass="buttonbg"
					id="button1" value="保 存" reRender="msgPanel"><f:param id="tp_userlevel" name="tp_userlevel" value="#{PetenceBB.tp_userlevel}"/></a4j:commandButton> 
			 <h:commandButton styleClass="buttonbg" value="返回" action="#{PetenceBB.opPetenceBack}" immediate="true"/>
		</div>
		
	</a4j:form>
	</div>
</body>
</html>

